BuzzerMode

enum BuzzerMode : ProtocolMessageEnum

Defines buzzer behavior for audio feedback
Protobuf enum meshtastic.Config.DeviceConfig.BuzzerMode

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Default behavior.
Buzzer is enabled for all audio feedback including button presses and alerts.
ALL_ENABLED = 0;
Link copied to clipboard

Direct Message notifications only.
Buzzer is enabled only for direct messages and alerts, but not for button presses.
External notification config determines the specifics of the notification behavior.
DIRECT_MSG_ONLY = 4;
Link copied to clipboard

Disabled.
All buzzer audio feedback is disabled.
DISABLED = 1;
Link copied to clipboard

Notifications Only.
Buzzer is enabled only for notifications and alerts, but not for button presses.
External notification config determines the specifics of the notification behavior.
NOTIFICATIONS_ONLY = 2;
Link copied to clipboard

Non-notification system buzzer tones only.
Buzzer is enabled only for non-notification tones such as button presses, startup, shutdown, but not for alerts.
SYSTEM_ONLY = 3;

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ConfigProtos.Config.DeviceConfig.BuzzerMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.